h1,h2,h3,h4,h5,h6{
    font-family:  "Microsoft Yahei"
}
#find_by_code_result a{
    display:block;
}
body {
    overflow-x:scroll;
    
}
#content {
    min-width:1000px;
}
.pagination {
    margin:0;
    text-align:center;margin-right:10px;
}
.datepicker {
    z-index:9999;
}
.datepicker-months,.datepicker-years {
    width:200px;
}
.datepicker-months .month,.datepicker-years .year {
    display:inline;
    float:left;
    width:47px;
    height:30px;
    text-align:center;
    cursor:pointer;
}

.printAble {
    display:none;
}
.paper-edit-box .span3{
    position:fixed;
}
.paper-edit-box .span9{
    float:right;
}

.filter-item.filter_value {
    margin-left:15px !important;
    width:200px !important;
}
.add-on {
    padding:4px 5px !important;
}
.filter-box select {
    width:100px;
}
.RelCompanySelectTable select {
    width:80px;
}
.RelCompanySelectTable .dataTables_filter{
    top:15px;
    right:10px;
}

.todo {
    padding:0 10px;
}

.widget-content {
    background:#fff;
}

/** Accounting */
.voucherWrap {
    box-shadow:0 1px 3px rgba(0,0,0,0.2);
    border:1px solid #cfcfcf;
    background:#fff;
    width:1140px;
    margin:20px 0;
    min-height:500px;
    position:relative;
    padding:15px 45px;
}
.voucherWrap input {
    font-size:12px;
    line-height:100%;
}
.vchMarkSelect {
    width:50px;
}
.vchNumSelect {
    width:50px;
}
.voucherTop .txt{
    position:relative;
    top:-3px;
}
.voucherTop {
    padding-top:20px;
}
.vchDate input {
    width:90px;
}
.markWrap {
    float:left;
}
.vchTitleWrap {
    float:left;display:inline;
    margin:-20px 0 0 110px
}
.vchTitleWrap h1 {
    display:inline;
    font:28px/1.8 "Microsoft Yahei";
    text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
    text-align:center;
}
.vchAttachWrap {
    float:right;
}
.vchPeriod {
    margin-left:20px;
}
/*voucher*/
.voucherTable {width:1080px !important}
.voucherWrap {padding: 15px 45px; width: 1046px; border: 1px solid #cfcfcf; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.2); position: relative; }
.voucher_tit { display: inline; margin-right: 20px; font: 28px/1.8 "Microsoft Yahei"; text-align: center; text-shadow: 1px 1px 1px rgba(0,0,0,0.2); }
.voucher_top { padding-top: 20px; margin-bottom: 10px; overflow: hidden; zoom: 1; }
.voucher_top .date_wrap { display: inline-block; *display:inline;
zoom: 1; margin-left: 20px; vertical-align: middle; }
.voucher_top .mark_wrap, .voucher_top .tit_wrap { float: left; }
.voucher_top .mark_wrap .txt { display: inline-block; *display:inline;
zoom: 1; line-height: 30px; vertical-align: middle; }
.voucher_top .tit_wrap { margin: -20px 0 0 110px; }
.voucher_top .attach_wrap { float: right; }
.voucher_top .attach_wrap .ui-input { width: 25px; }
#vch_mark, #skip-mark-select { display: inline-block; *display:inline; zoom: 1; }
/*voucher*/
.voucherTable { border-collapse: collapse; margin: 0 0 10px -28px; border-top:0;border-bottom:0;}
.voucherTable th, .voucherTable td {padding:0 !important;vertical-align: middle !important;overflow:hidden !important;}
.voucherTable thead {background:#fff;}
.voucherTable th {
    border-top:1px solid #ddd !important;
     background:#fff !important;
}
.voucherTable tfoot td{
    border-bottom:1px solid #ddd !important;
}
.col_quantity, .col_currency{ display:none; }
.voucherTable td.col_debite, .voucherTable td.col_credit, .voucherTable td.col_money, .money_unit { background-image: url('../Images/money_rp.png'); background-repeat: repeat-y; }
.voucherTable th { height: 48px; color: #555555; font-size: 14px; text-align: center; font-weight: bold; overflow: hidden; }
.voucherTable .col_money{ font-size:12px; }
.voucherTable .col_money .tit { display: block; height: 25px; line-height: 25px; }
.voucherTable .money_unit { height: 22px; line-height: 22px; font-weight: normal; border-top: 1px solid #dadada; text-align: center; }
.voucherTable .money_unit span { float: left; display: inline; width: 19px; height: 100%; margin-right: 1px; background-color: #fff; }
.voucherTable .money_unit .last { margin-right: 0; width:18px;}
.voucherTable td { height: 60px; }
/*增减行*/
.operate { visibility:hidden; width:26px; }
.voucherTable .col_operate { text-align: center; width: 26px; border: 1px solid #FFF; border-right: 1px solid #ccc; }
.voucherTable .col_operate a { display: block; width: 16px; height: 16px; background: url('../Images/page_spr_icons.png') no-repeat -112px -96px; vertical-align: middle; }
.voucherTable .col_operate a:hover { background-position: -112px -112px; }
.voucherTable .col_operate .del { margin-top: 5px; background-position: -128px -96px; }
.voucherTable .col_operate .del:hover { background-position: -128px -112px; }

.voucherTable .col_summary .cell_val, .voucherTable .col_subject .cell_val { padding: 0 5px; font-size: 12px; }
.voucherTable .col_subject .cell_val span{ font-size:12px; }
.edit_summary, .edit_money, .edit_subject { float: left; outline: none !important; resize: none; border: 2px solid #4bb8f3 !important; box-shadow: rgba(0,0,0,.1) 0 1px 2px 1px inset; height: 50px !important; padding: 3px !important; overflow: hidden !important; line-height:50px\9; margin:0 !important;}
/*摘要*/
.col_summary .cell_val { width: 270px; word-break: break-all; word-wrap: break-word; }
.edit_summary { overflow: auto; margin: 0; width: 270px; font-size: 14px; line-height: 1.5; }
/*科目*/
.voucherTable tbody .col_subject { border-right: 0; }
.col_subject .cell_val { width: 285px; word-break : break-all; word-wrap : break-word; }
.edit_subject { width: 280px;  font-size: 14px; position: relative;height:50px !important; }
/*科目余额*/
.col_option .option { visibility:hidden; position: relative; width:30px;  }
.voucherTable .col_option { border-left: 0; }
.voucherTable .col_option { width: 30px; text-align: center; }
.voucherTable .col_option a:hover { color: #555; }
#selSub { margin-bottom: 10px; }
.col_option .option .selSub, .col_option .option .balance { display: block; width: 24px; height: 26px; cursor: pointer; color: #aaa; text-align: center; line-height: 26px; margin:0 auto; }
.col_option .option .balance { border-top: 1px solid #cbe1ed; }
.col_option .show { visibility:visible; }
.col_option .show .selSub { display: block; }
.col_option .show .balance { display: block; }
/*借贷金额*/
.voucherTable .col_debite, .voucherTable .col_credit, .voucherTable .col_money { width: 218px; }
.voucherTable .col_debite .cell_val, .voucherTable .col_credit .cell_val { overflow: hidden; font-family: 'tahoma'; font-weight: bold; font-size: 14px; letter-spacing: 11px; overflow: hidden; position: relative; right: -5px; *right: 4px;
text-align: right; }
.money-negative{color:#dd4e4e;}

.edit_money { font-family: Verdana, Geneva, sans-serif; font-size: 20px; width: 208px; text-align: right; overflow: hidden; ime-mode: disabled; }

#isItem{ position:absolute; z-index:101; background:#f4f4f4; width:286px; border: 2px solid #4BB8F3; border-top:none; }
#isItem ul{ padding:10px; margin:0;}
#isItem li{ overflow:hidden; *zoom:1; margin-bottom:10px; vertical-align:middle; }
#isItem label{ display: inline-block; width:55px; vertical-align:middle; }
#isItem input{ width:180px; }
.voucherTable th.col_quantity,.voucherTable th.col_currency{ font-size:14px; }
/*有外币*/
.has-currency .voucherWrap{ /*padding: 20px 28px 20px 38px;  width: 1080px; */}
.has-currency #isItem{ width:291px; }
.has-currency #isItem input{ width:172px; }
.curr_val{ width:104px; color:#aaa; padding:0 3px; }
.has-currency .col_currency{ display:table-cell; *display:inline; visibility:visible; font-size:12px; }
.curr_val .mb8{ margin-bottom:3px; }

.curr_val .ui-combo-wrap{ height:22px; margin-right:3px; }
.curr_val .ui-combo-wrap .trigger{ line-height:28px;}
.curr_val .ui-combo-wrap .input-txt{ width:33px; height:14px; padding:4px 2px;}
.curr_val select{ }
.rate, .original{ width:48px; height:14px; padding:0px 2px; border:none; border-bottom:1px solid #ccc; }
.original{ width:70px;}
.has-currency .col_summary .cell_val{ width: 190px; }
.has-currency .edit_summary{ width:190px; }
.has-currency .col_subject .cell_val{ width: 255px; }
.has-currency .edit_subject{ width:262px; }
/*有数量金额*/
.has-amount .voucherWrap{ }
.has-amount #isItem{ width:291px; }
.has-amount #isItem input{ width:172px; }
.quantity_val{ width:104px; color:#aaa; padding:0 3px; }
.has-amount .col_quantity{ display:table-cell; *display:inline; visibility:visible; font-size:12px; }
.quantity_val .mb8{ margin-bottom:3px; }
.quantity,.unit-price{ width:44px; height:14px; padding:0 2px; border:none; border-bottom:1px solid #ccc; }
.unit-price{ width:70px;}
.has-amount .col_summary .cell_val{ width: 190px; }
.has-amount .edit_summary{ width:190px; }
.has-amount .col_subject .cell_val{ width: 255px; }
.has-amount .edit_subject{ width:262px; }
/*所有情况*/
.has-whole #voucher{ table-layout:fixed; *table-layout:auto;}
.has-whole .voucherWrap{ padding: 15px 20px 15px 28px;  width: 1088px; }
.has-whole .col_quantity,.has-whole .col_currency{ display:table-cell; *display:inline; visibility:visible; width:120px; font-size:12px; }
.has-whole #isItem{ width:301px; }
.has-whole #isItem input{ width:182px; }
.has-whole .col_summary .cell_val{ width: 218px; }
.has-whole .edit_summary{ width:218px; }
.has-whole .col_subject .cell_val{ width: 265px; }
.has-whole .edit_subject{ width:272px; }
.has-whole .voucherTable .col_debite, .has-whole .voucherTable .col_credit, .has-whole .voucherTable .col_money{width:165px; }
.has-whole .edit_money{width:155px;}
.has-whole .voucherTable .money_unit{width:165px;}
.has-whole .voucherTable .money_unit span{ width: 14px; }
.has-whole .voucherTable td.col_debite, 
.has-whole .voucherTable td.col_credit, 
.has-whole .voucherTable td.col_money, 
.has-whole .money_unit { background-image:url(../Images/special/money_rp.png); }
.has-whole .voucherTable .col_debite .cell_val, .has-whole .voucherTable .col_credit .cell_val{ width: 165px;right:-3px;*right:4px;letter-spacing: 6px; }

.voucherTable tbody tr.current { background: #f8f8f8; }
.voucherTable tbody tr.current .col_operate { background-color: #fff; }
.voucherTable tbody tr.current .operate { visibility:visible; }
.voucherTable tbody tr.current .option { visibility:visible; }

.voucherTable .col_total { padding: 0 10px !important; }
.voucherTable .col_total { font-size: 14px; font-weight: bold; }

.vch_ft { font-size: 14px; }
.ui-input-dis { background-color: #f0f0f0; color: #aaa; }

/* 跳转按钮 */
.ui-btn-menu .goto-btn { padding-right: 13px; }
.ui-btn-menu .goto-con { left: auto; right: 0; padding: 15px; width: 360px; }
.ui-btn-menu .goto-con .hd { width: 100%; text-align: right; }
.ui-btn-menu .goto-con .hd .txt { display: inline-block; font-size: 12px; line-height: 30px; vertical-align: middle; }
.ui-btn-menu .goto-con .hd .num { margin-right: 0; }
.ui-btn-menu .goto-con .ft { padding: 20px 0 0; zoom: 1; text-align: right; }
#skip-btn { margin-right: 0 }
#skip-period-select { width: 20px; }
.has-audit, .has-checkout { width: 150px; height: 74px; background: url(../Images/audit.png) 0 0 no-repeat; position: absolute; right: 170px; top: 0px; }
.has-checkout { background: url(../Images/checkout.png) 0 0 no-repeat; }

/*余额弹出*/
.balance-pop { position: absolute; z-index:1001; width: 130px; padding: 5px 10px; background-color: #fff; color: #555; border: 1px solid #4bb7f3; box-shadow: 0 0 3px rgba(0,162,255,0.4); }
.balance-pop .close { position: absolute; right: 0; top: 0; display: block; width: 16px; height: 16px; overflow: hidden; text-indent: -9999px; background: url('../Images/page_spr_icons.png') no-repeat -160px -96px; }
.check-balance { color: #3ab2f4; text-align: center; }
.check-balance strong { float: left; }
.check-balance a { float: right; display: inline; margin-right: 5px; color: #aaa; }
.check-balance a:hover { color: #555; }
.balance-pop b { position: absolute; top: -7px; left:50%; margin-left:-3px; display: block; height: 7px; width: 13px; overflow: hidden; background: url('../Images/page_spr_icons.png') no-repeat -144px -96px; }

#edit_name{ color:#AAAAAA; font-size:12px; cursor:pointer; }


/* 文本框控件 */
.ui-input { padding: 6px 5px; width: 120px; height: 16px; line-height: 16px; border: 1px solid #ddd; color: #555; vertical-align: middle; outline: none; }
.ui-input-def { color: #aaa; }
.ui-input:hover { border: 1px solid #ccc; box-shadow: 0 1px 1px #ddd; }
.ui-input:focus, .ui-input-focus { border: 1px solid #aaa; box-shadow: 0 2px 1px rgba(0,0,0,0.11) inset; }
.ui-input-dis{ background: #f0f0f0; color: #999; }
.ui-input-dis:hover{border-color:#ddd;box-shadow:none;}

/* 文本域控件 */
textarea.ui-input { width: 300px; height: 100px; vertical-align: inherit; }

/* 搜索控件 */
.ui-search { position: relative; display: inline-block; font-size: 14px; vertical-align: middle; zoom: 1; }
.ui-search input { padding-right: 30px; width: 155px; }
.ui-search button { position: absolute; right: 2px; top: 2px; width: 26px; height: 28px; border-width: 0; background-position: 0 -48px; text-indent: -9999px; cursor: pointer; overflow: hidden; }
.ui-search button:hover, .ui-search button:active { background-position: -32px -48px; }
/* 数字录入控件 */
.ui-spinbox-wrap { display: inline-block; vertical-align: middle; *display:inline;zoom:1;margin-right:10px;}
.ui-spinbox-wrap .input-txt { outline:none;float: left; width: 36px; margin: 0; border: 1px solid #ddd; height: 16px; line-height: 16px; padding: 6px 5px; color: #555; border-right: 0; }
.ui-spinbox-wrap .btn-wrap { float: left; }
.ui-spinbox-wrap a { display: block; font-size: 0; height: 16px; width: 16px; overflow: hidden; background-position:0 -80px; cursor: pointer; }
.ui-spinbox-wrap .btn-down { height: 14px; background-position:0 -96px; position: relative; }

.ui-spinbox-hover{box-shadow:0 1px 1px #ddd;}
.ui-spinbox-hover .input-txt{border-color:#ccc;}
.ui-spinbox-hover .btn-up{background-position:-16px -80px;}
.ui-spinbox-hover .btn-down{background-position:-16px -96px;}
.ui-spinbox-hover .btn-wrap-hover .btn-up{background-position:-48px -80px;}
.ui-spinbox-hover .btn-wrap-hover .btn-down{background-position:-48px -96px;}
.ui-spinbox-hover .btn-wrap-hover .btn-up:hover{background-position:0 -112px;}
.ui-spinbox-hover .btn-wrap-hover .btn-down:hover{background-position:0 -128px;}

.ui-spinbox-active .input-txt { border-color: #aaa; }
.ui-spinbox-active .btn-up { background-position:-32px -80px; }
.ui-spinbox-active .btn-down { background-position:-32px -96px; }
.ui-spinbox-active .btn-wrap-hover .btn-up{background-position:-16px -112px;}
.ui-spinbox-active .btn-wrap-hover .btn-down{background-position:-16px -128px;}
.ui-spinbox-active .btn-wrap-hover .btn-up:hover{background-position:-32px -112px;}
.ui-spinbox-active .btn-wrap-hover .btn-down:hover{background-position:-32px -128px;}

.ui-spinbox-disabled .input-txt { background-color: #f0f0f0; color: #ccc; border-color:#ddd;}
.ui-spinbox-disabled a { cursor: default; }
.ui-spinbox-disabled .btn-up ,.ui-spinbox-disabled .btn-wrap-hover .btn-up,.ui-spinbox-disabled .btn-wrap-hover .btn-up:hover{ background-position:-48px -112px; }
.ui-spinbox-disabled .btn-down,.ui-spinbox-disabled .btn-wrap-hover .btn-down, .ui-spinbox-disabled .btn-wrap-hover .btn-down:hover{ background-position:-48px -128px; }

/* 下拉框 */
.ui-combo-wrap { position: relative; display: inline-block; height: 28px; *display:inline;
vertical-align: middle; background-color: #fff; border: 1px solid #ddd; color: #555; overflow: hidden; zoom: 1; }
.ui-combo-wrap .input-txt { outline:none;float: left; padding: 6px 5px; height: 16px; line-height: 16px; font-size: 14px; color: #555; border: 0; }
.ui-combo-wrap .trigger { float: left; width: 16px; height: 100%; overflow: hidden;line-height:28px; }
.ui-combo-wrap .trigger:hover { background-position: -16px -16px; }
.ui-combo-active, .ui-combo-active:hover { border: 1px solid #aaa; }
.ui-combo-disabled .input-txt { background-color: #f0f0f0; color: #aaa; }
.ui-combo-disabled .trigger, .ui-combo-disabled .trigger:hover { background-color: #f0f0f0; background-position: 0 -16px; }
.ui-droplist-wrap { background: #fff; border: 1px solid #aaa; box-shadow: 0 1px 3px rgba(0,0,0,0.15); z-index: 500; }
.ui-droplist-wrap .droplist { background-color: #fff; position: relative; }
.ui-droplist-wrap .list-item {_position:relative; padding: 2px 5px; font-size: 12px; line-height: 22px; cursor: default; overflow: hidden; }
.ui-droplist-wrap .loading { line-height: 26px; padding: 5px 5px 5px 40px; background: url('../Images/loading.gif') no-repeat 10px center; }
.ui-droplist-wrap .tips { line-height: 18px; padding: 5px; }
.ui-droplist-wrap .on { background-color: #eee;}
.ui-droplist-wrap .selected { background-color: #d2d2d2; }
.ui-subjectList-wrap .list-item{font-size:12px;}
.ui-combo-wrap-small{height: 22px;}
.ui-combo-wrap-small .input-txt{padding: 3px 5px; height: 14px;font-size: 12px;line-height: 14px;}
.ui-droplist-wrap-small .list-item{font-size: 12px;line-height: 20px;}
.ui-combo-wrap-small .trigger{background-position: 0 -19px;}
.ui-combo-wrap-small .trigger:hover { background-position: -16px -19px; }
.ui-droplist-wrap .extra-list-ctn{border-top: 1px solid #ddd; background: #f5f5f5;padding-left: 5px;}

.voucherTable .col_operate{
    border:0 !important;
    background:#fff;
}
.voucherListTable td {
    vertical-align: middle;
    padding:0 5px;
    text-align:center;
}
.voucherListTable td p {
    padding: 0 5px;
    margin: 0 -5px -1px;
    border-bottom: 1px solid #ddd;
    height: 28px;
    line-height: 26px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align:left;
}
.voucherListTable .pagination {
    margin-top:10px;
}




.alert {
    margin:10px auto;
    position:absolute;
    z-index:9999;
    width:200px;
    left:50%;
    margin-left:-200px;
    top:50%;
    margin-top:-50px;
}


.btn {
    margin-right: 0px;
    border-radius: 2px;
    box-shadow: 0 1px 1px rgba(0,0,0,0.15);
    cursor: pointer;
}
span.vchMark {
    position: relative;
    top: 2px;
}

/**
    Scripts
*/
.EditableScripts {
    background:#fff;
    border:1px solid #ddd;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    padding:15px;
    margin:15px auto;
}
.esh-item {
    line-height:30px;
    height:30px;
}
.esh-item input,.esh-item select {
    height:22px;
    margin:0;
}